<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="f"  uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h"  uri="http://java.sun.com/jsf/html"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>sisor</title>
</head>
<body>
<center>
	<h2>SISOR:SISTEMA DE GERENCIAMENTO ORÇAMENTÁRIO<br/>
	Faça login no sistema<br><br>

<f:view>
		<p><h:outputText value="#{servidorMB.mensagem}" style="color: #FF0000"></h:outputText></p>
		<h:form>
			<h:panelGrid border="0" columns="2" style="background-color: cyan; color: #000FF">
				<h:outputLabel value="Matrícula: "/>
				<h:inputText value="#{servidorMB.matricula}"/>
				<h:outputLabel value="Senha: "/>
				<h:inputSecret value="#{servidorMB.senha}"/>				
			</h:panelGrid>			
			<h:commandButton value="Efetuar Login" action="#{servidorMB.autenticar}"></h:commandButton>
			<br />
			<br />
			<h:commandLink value="(+) Ainda não possui cadastro ?" action="cadastroServidor.jsp"></h:commandLink>
		</h:form>	
	</f:view>
</center>
Copyright 2014 - IFRN
</body>
</html>